package cn.wolfcode.shop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping()
public class MainController {

	/**
	 * 首页界面
	 * @return
	 */
	@RequestMapping({ "/main", "/" })
	public String main() {
		return "main";
	}

	/**
	 * 欢迎说明
	 * @return
	 */
	@RequestMapping("/index")
	public String index() {
		return "index";
	}
}
